package org.nalai.tools;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

public class KryoPojo1 implements Serializable {

    private static final long serialVersionUID;

    static {
        serialVersionUID = -4914434736682797743L;
    }

    private String name;
    private int age;
    private Map<String, Integer> map = new HashMap<String, Integer>();

    public KryoPojo1() {

    }

    public KryoPojo1(String name, int age, Map<String, Integer> map) {
        this.name = name;
        this.age = age;
        this.map = map;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public Map<String, Integer> getMap() {
        return map;
    }

    public void setMap(Map<String, Integer> map) {
        this.map = map;
    }


}